// 引入ali-oss
import OSS from "ali-oss";
export function client() {
  var data = {
    accessKeyId: "LTAI5tRh1njeLn2w1sKWkN2X",
    accessKeySecret: "6fvbk3vRj6qpe4ww1n7oT4sgtSvfbV",
    bucket: "jianji-api",
    region: "oss-cn-shanghai",
  };
  return new OSS({
    region: data.region,
    accessKeyId: data.accessKeyId,
    accessKeySecret: data.accessKeySecret,
    bucket: data.bucket,
  });
}
